package com.qin.mall.service;

import com.qin.mall.common.domain.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Leisure
 * create 2022 2022/11/16 11:08
 **/
@FeignClient("mall-portal")
public interface UmsMemberService {
    
    @GetMapping("/sso/loadByUsername")
    UserDto loadUserByUsername(@RequestParam String username);
}
